body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma,"Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    /* height: 2000px; */
    }
    a{
        text-decoration: none;
        color: #222222;
        font-size: 12px;
    }
    div{
        box-sizing: border-box;
    }
    ul {
        margin: 0px;
        padding: 0px;
        list-style: none;
    }
    /* 返回顶部模块 */
    .goBack{
        display:none;
        position:fixed;
        bottom:50px;
        right: 20px;
        width: 38px;
        height: 38px;
        background:url(../images/back.png) no-repeat;
        background-size: 38px 38px;

    }
    /* 搜索模块 */
    .search-index{
        z-index:999;
        display: flex;
        position: fixed;
        /* 固定的盒子应该有宽度 */
        top: 0;
        left: 50%;
        width: 100%;
        -webkit-transform: translateX(-50%);
        transform:translateX(-50%);
        /* margin: 0 auto;  因为已经有了定位 所以这样写无效*/
        /* 固定定位跟父级没有关系，它以屏幕为准 */
        min-width: 320px;
        max-width: 540px;
        height: 44px;
        background-color: #f6f6f6;
        border-top:1px solid #ccc;
        border-bottom:1px solid #ccc;

        /* background-color:pink; */
    }
    .user{
        width: 44px;
        height: 44px;
        /* background-color: bisque; */
        font-size: 12px;
        text-align: center;
        color: #2eaae0;
       
    }
    .search{
        position: relative;
        flex:1;
        /* background-color: purple; */
        height: 26px;
        border: 1px solid #ccc;
        margin:6px 10px;
        border-radius: 5px;
        font-size: 12px;
        padding-left: 25px;
        color: #666666;
        line-height: 24px;
        box-shadow: 0px 2px 4px rgba(0,0,0,.2);

    }
    .search::before{
        content: '';
        /* display: block; */
        position: absolute;
        top: 5px;
        left: 5px;
        height: 15px;
        width: 15px;
        background: url(../images/sprite.png) no-repeat -59px -279px;
        background-size: 104px auto;
        /* margin: 5px; */
      
    }
    .user::before{
        content: '';
        display: block;
        width: 23px;
        height: 23px;
        background: url(../images/sprite.png) no-repeat -59px -194px;
        background-size: 104px auto;
        margin: 4px auto -2px;
    }

    /* 焦点foucus模块 */
    .focus{
        position: relative;
        overflow: hidden;
        padding-top: 44px;
    }
     .focus img{
        width: 100%;
    }
    .focus ul{
        width: 500%;
        margin-left:-100%;
        overflow: hidden;/* 清除浮动 */
    }
    .focus ul li{
        float:left;
        width: 20%;
    }
    .focus ol{
        position:absolute;
        margin: 0;
        bottom: 5px;
        right: 5px;
    }
    .focus ol li{
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 2px;
        list-style: none;
        background-color: #fff;
        transition:all .3s;
    }
    .focus ol li.current{
     width: 15px;   
    }
   
    /* 本地导航 */
    /* .local-nav{
        width: 100%;
    }   继承body wididth？ */
    .local-nav{
        display: flex;
        height: 64px;
        background-color: #fff;
        border-radius: 8px;
        margin :3px 4px;
    }
    .local-nav li{
        flex:1;

    }
    .local-nav a{
        display: flex;
        flex-direction: column;
        align-items: center;
       
    }
    .local-nav li [class^="local-nav-icon"]{
    margin-top: 8px; /*flex布局里面不会出现外边距合并的问题 */
    width: 32px;
    height: 32px;
    background-color: pink;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size:32px auto;
    }
    .local-nav li .local-nav-icon-icon2{
        background: url(../images/localnav_bg.png) no-repeat 0 -32px;
        background-size:32px auto;
    }
    .local-nav li .local-nav-icon-icon3{
        background: url(../images/localnav_bg.png) no-repeat 0 -64px; 
        background-size:32px auto;
    }
    .local-nav li .local-nav-icon-icon4{
        background: url(../images/localnav_bg.png) no-repeat 0 -96px; 
        background-size:32px auto;
    }
    .local-nav li .local-nav-icon-icon5{
        background: url(../images/localnav_bg.png) no-repeat 0 -128px; 
        background-size:32px auto;
    }
    
    /* 主导航模块 */
    .nav{
        /* 宽度不给。高度用内容撑开 */
        border-radius: 8px;
        margin: 0 4px 3px;
        overflow: hidden;
    }
    .nav-common{
        display: flex;
        height: 88px;
        background-color: pink;

    }
    .nav-common:nth-child(2){
        margin:3px 0;
    }
    .nav-common .nav-items{
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .nav-common .nav-items:nth-child(-n+2){
        border-right: 1px solid #fff;
    }
    .nav-items a{
        flex: 1;
        text-align: center;
        line-height: 44px;
        color: #fff;
        font-size: 14px;
        text-shadow: 1px 1px rgba(0,0,0,.2);
    }
    .nav-items a:nth-child(1){
        border-bottom: 1px solid #fff;
    }
   .nav-items:nth-child(1) a{
    border-bottom: 0;
    line-height: 88px;
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px auto;
   }
   .nav-common:nth-child(1){
       background: -webkit-linear-gradient(left,#FA5A55,#FA9940);
   }
   .nav-common:nth-child(2){
    background: -webkit-linear-gradient(left,#4B90ED,#53BCED);
}
.nav-common:nth-child(3){
    background: -webkit-linear-gradient(left,#34C2A9,#6CD559);
}
/* 侧导航模块 */
.subnav-entry{
    display: flex;
    border-radius: 8px;
    background-color: #fff;
    margin:0 4px;
    flex-wrap: wrap;
    padding: 5px 0;
}
.subnav-entry li{
    /* 里面的子盒子可以写%，相对于父级来说的 */
    flex:20%;
}
.subnav-entry a{
    display:flex; 
    flex-direction: column;
    align-items: center;
}
.subnav-entry-icon{
   width: 28px;
   height: 28px;
   background-color:pink;
   margin-top: 4px;
   background: url(../images/subnav-bg.png) no-repeat;
   background-size: 28px auto;
}
 /* 销售模块  */
 .sales-box{
     border-top:1px solid #bbb ;
     background-color: #fff;
     margin: 4px;
 }
 .sales-hd{
    position: relative;
     height: 44px;
     border-bottom: 1px solid #ccc;
 }
 .sales-hd h2{
    position: relative;
     text-indent: -999px;
     overflow: hidden;
 }
 .sales-hd h2::after{ 
     content:'';
     position: absolute;
     top: 8px;
     left:20px;   
     width: 79px;
     height: 15px;
     background: url(../images/hot.png) no-repeat 0 -20px;
     background-size: 79px auto;
 }
 .more{
     position: absolute;
     right: 5px;
     top: 0px;
     background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
     border-radius: 15px;
     padding:3px 20px 3px 10px;
     color: #fff;

 }
 .more::after{
     content: '';
     position: absolute;
     top: 9px;
     right: 9px;
     width: 7px;
     height: 7px;
     border-top: 2px solid #fff;
     border-right: 2px solid #fff;
     transform: rotate(45deg);
 }

 .row{
     display: flex;
 }
 .row a{
     flex:1;
     border-bottom: 1px solid #eee;
 }
 .row a img{
     width: 100%;
 }
 .row a:nth-child(1){
     border-right:1px solid #eee;
 }
 